package java_test;

import java.util.Arrays;

public class ArrayEquals {
    public static void main(String[] args) {
        int[] ary = {1, 2, 3, 4};
        int[] ary1 = {1, 2, 3, 4};
        System.out.println(Arrays.equals(ary, ary1));
    }
}
